import sys, os
base_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(base_path)
import httpx
from .const import HOT_DICT

def get_hot(url: str) -> str:
    response = httpx.get(url)
    return response.text


if __name__ == '__main__':
    response = get_hot(HOT_DICT.get('douyin'))
    print(response)
    